3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
When you pass the kQAGestalt_FastFeatures selector to the QAEngineGestalt function, QAEngineGestalt returns (through its response parameter) a value that indicates which, if any, features supported by a drawing engine are accelerated. You can use these masks to test that value for a specific feature. The bits corresponding to accelerated features are ORed together to determine the returned value.
A feature is considered accelerated if it is performed substantially faster by the drawing engine than it would be if performed in software only.
#define kQAFast_None 0
#define kQAFast_Line (1 << 0)
#define kQAFast_Gouraud (1 << 1)
#define kQAFast_Texture (1 << 2)
#define kQAFast_TextureHQ (1 << 3)
#define kQAFast_Blend (1 << 4)
#define kQAFast_Antialiasing (1 << 5)
#define kQAFast_ZSorted (1 << 6)
#define kQAFast_CL4 (1 << 7)
#define kQAFast_CL8 (1 << 8)
Previous | QD3D Book | Overview | Chapter Contents | Next |